<template>
    <div>
        <div class='writer-info'>
            作者：
            {{author}}
        </div>
        <div class='company-info'>
            学校：
            {{ school }}
        </div>
        <div class='time-info'>
            时间限制：
            {{ time }}ms
        </div>
        <div class='memory-info'>
            内存限制：
            {{ memory }}KB
        </div>
        <div class='code-info'>
            代码长度限制：
            64MB
        </div>
    </div>
</template>

<script>
export default {
    name: 'WriterInfo',
    props: {
        author: {
            type: String,
            required: true
        },
        school: {
            type: String,
            required: true
        },
        time: {
            type: Number,
            required: true
        },
        memory: {
            type: Number,
            required: true
        }
    }
};
</script>

<style scoped>
* {
    padding: 0.5em;
    line-height: 1.5em;
}
</style>
